﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional

namespace AJWPFAdmin.Services.Migrations
{
    /// <inheritdoc />
    public partial class 新增青岛临沂赣州台账接口配置 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480306L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480307L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480308L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480309L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480310L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480311L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "PlatformCustomers",
                keyColumn: "Id",
                keyValue: 480306,
                columns: new[] { "CreateDate", "ExpireDate" },
                values: new object[] { new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302), new DateTime(2025, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302) });

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)6,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1000,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1001,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1002,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302));

            migrationBuilder.InsertData(
                table: "SystemConfigDictionaries",
                columns: new[] { "Key", "BooleanValue", "CreateDate", "DecimalValue", "IntValue", "StringValue", "UpdateDate" },
                values: new object[,]
                {
                    { (short)1003, false, new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302), 0m, 0, null, null },
                    { (short)1004, false, new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302), 0m, 0, null, null },
                    { (short)1005, false, new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302), 0m, 0, null, null }
                });

            migrationBuilder.UpdateData(
                table: "SystemDictionaries",
                keyColumn: "Id",
                keyValue: 1L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(8566));

            migrationBuilder.UpdateData(
                table: "SystemDictionaries",
                keyColumn: "Id",
                keyValue: 2L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(8583));

            migrationBuilder.UpdateData(
                table: "SystemDictionaries",
                keyColumn: "Id",
                keyValue: 3L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(8593));

            migrationBuilder.UpdateData(
                table: "SystemRoles",
                keyColumn: "Id",
                keyValue: 480306L,
                columns: new[] { "CreateDate", "UpdateDate" },
                values: new object[] { new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302), new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302) });

            migrationBuilder.UpdateData(
                table: "SystemUsers",
                keyColumn: "Id",
                keyValue: 480306L,
                columns: new[] { "CreateDate", "UpdateDate" },
                values: new object[] { new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302), new DateTime(2024, 10, 30, 14, 9, 0, 527, DateTimeKind.Local).AddTicks(6302) });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1003);

            migrationBuilder.DeleteData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1004);

            migrationBuilder.DeleteData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1005);

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480306L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480307L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480308L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480309L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480310L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "CarTypes",
                keyColumn: "Id",
                keyValue: 480311L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "PlatformCustomers",
                keyColumn: "Id",
                keyValue: 480306,
                columns: new[] { "CreateDate", "ExpireDate" },
                values: new object[] { new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573), new DateTime(2025, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573) });

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)6,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1000,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1001,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "SystemConfigDictionaries",
                keyColumn: "Key",
                keyValue: (short)1002,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573));

            migrationBuilder.UpdateData(
                table: "SystemDictionaries",
                keyColumn: "Id",
                keyValue: 1L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(6413));

            migrationBuilder.UpdateData(
                table: "SystemDictionaries",
                keyColumn: "Id",
                keyValue: 2L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(6472));

            migrationBuilder.UpdateData(
                table: "SystemDictionaries",
                keyColumn: "Id",
                keyValue: 3L,
                column: "CreateDate",
                value: new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(6506));

            migrationBuilder.UpdateData(
                table: "SystemRoles",
                keyColumn: "Id",
                keyValue: 480306L,
                columns: new[] { "CreateDate", "UpdateDate" },
                values: new object[] { new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573), new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573) });

            migrationBuilder.UpdateData(
                table: "SystemUsers",
                keyColumn: "Id",
                keyValue: 480306L,
                columns: new[] { "CreateDate", "UpdateDate" },
                values: new object[] { new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573), new DateTime(2024, 10, 22, 15, 0, 16, 772, DateTimeKind.Local).AddTicks(1573) });
        }
    }
}
